CVE-2026-22737
Spring Framework Improper Path Limitation with Script View Templates
Description
Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
INFO
Published Date :
March 20, 2026, 12:16 a.m.
Last Modified :
April 23, 2026, 2:20 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | dcf2e128-44bd-42ed-91e8-88f912c1401d | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Upgrade Spring Framework to a version later than 7.0.5.
- Upgrade Spring Framework to a version later than 6.2.16.
- Upgrade Spring Framework to a version later than 6.1.25.
- Upgrade Spring Framework to a version later than 5.3.46.
Public PoC/Exploit Available at Github
CVE-2026-22737 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-22737.
| URL | Resource |
|---|---|
| https://spring.io/security/cve-2026-22737 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-22737 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-22737
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Variant analysis, open-sourced. Feed a CVE patch, find every structural twin across your codebase. 6-stage pipeline: patch ingestion, LLM signature extraction, embedding search, Joern CPG slicing, LLM feasibility reasoning, SARIF reporting.
appsec bug-hunting code-analysis cpg cve joern llm rust sarif security static-analysis tree-sitter variant-analysis vulnerability-detection
Rust Dockerfile Shell Ruby
Parent for Kanopus Spring Boot applications
Config files for my GitHub profile.
config github-config
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-22737 vulnerability anywhere in the article.
-
Daily CyberSecurity
Log4j’s “Silent” Security Gap: New Advisories Warn of Data Loss and TLS Bypasses
The Apache Log4j 2 ecosystem is facing a fresh wave of security concerns as four new vulnerabilities have been disclosed, highlighting critical flaws in how the library handles data sanitization and i ... Read more
-
Daily CyberSecurity
High-Severity Spring Cloud Config Flaw Triggers File Leaks and SSRF
A significant security flaw has been identified in Spring Cloud Config, a popular framework used to provide server and client-side support for externalized configuration in distributed systems. The vu ... Read more
-
Daily CyberSecurity
The Silent Leak: Critical 9.1 CVSS Spring Security Flaw Strips Away Vital HTTP Headers
A critical-severity security flaw has been identified in Spring Security, the industry-standard framework for securing Java-based enterprise applications. The vulnerability, tracked as CVE-2026-22732 ... Read more
-
Daily CyberSecurity
Bypassed Boundaries: Two New Vulnerabilities Threaten Spring Framework Apps
Security researchers have identified two distinct vulnerabilities within the widely used Spring Framework, affecting both Spring MVC and Spring WebFlux applications. The advisories, covering an improp ... Read more
The following table lists the changes that have been made to the
CVE-2026-22737 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 23, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions up to (excluding) 5.3.47 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.26 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 6.2.0 up to (excluding) 6.2.17 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.6 Added Reference Type VMware: https://spring.io/security/cve-2026-22737 Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 20, 2026
Action Type Old Value New Value Added CWE CWE-22 -
New CVE Received by [email protected]
Mar. 20, 2026
Action Type Old Value New Value Added Description Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Added Reference https://spring.io/security/cve-2026-22737